const mock = require("mockjs")
/**
 * 生成手机
 * @returns 生成号的手机号
 */
exports.phone = mock.Random.extend({
    phone: function () {
      let phonePrefixs = ['132', '135', '189',"151","158"] // 自己写前缀哈
      return this.pick(phonePrefixs) + mock.mock(/\d{8}/)
    }
})